<?php

namespace App\Models\Dynamic;

use App\User;
use Illuminate\Database\Eloquent\Model;

class Medicalrecord extends Model
{


    protected $table = "tn_medicalrecord";

    protected $fillable = [
        'id', 'userbaseid', 'phone', 'status'
    ];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
     */
    public function user()
    {
        return $this->hasOne(User::class, 'id', 'userbaseid');
    }

}
